package wzc.design_pattern.construction.bridge;

/**
 * @Author 那和不是个啥
 * @Date 2025/7/20
 * @Description
 */

public class BridgePatternDemo {
    public static void main(String[] args) {
        GameApp gameApp = new GameApp();
        SocialApp socialApp = new SocialApp();
        XiaomiPhone xiaomiPhone = new XiaomiPhone(gameApp);
        xiaomiPhone.runApp();
        ApplePhone applePhone = new ApplePhone(socialApp);
        applePhone.runApp();
    }
}
